package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工活码对象 we_emple_code
 * 
 * @author ruoyi
 * @date 2021-05-11
 */
public class WeEmpleCode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 活码类型:1:批量;2:单人;3:多人; */
    @Excel(name = "活码类型:1:批量;2:单人;3:多人;")
    private Integer codeType;

    /** 客户添加时无需经过确认自动成为好友:1:是;0:否 */
    @Excel(name = "客户添加时无需经过确认自动成为好友:1:是;0:否")
    private Integer skipVerify;

    /** 活动场景 */
    @Excel(name = "活动场景")
    private String scenario;

    /** 欢迎语 */
    @Excel(name = "欢迎语")
    private String welcomeMsg;

    /** 0:正常;1:删除; */
    private Integer delFlag;

    /** 新增联系方式的配置id */
    @Excel(name = "新增联系方式的配置id")
    private String configId;

    /** 二维码链接 */
    @Excel(name = "二维码链接")
    private String qrCode;

    /** 素材id */
    @Excel(name = "素材id")
    private Long mediaId;

    /** 该员工活码的扫码次数 */
    @Excel(name = "该员工活码的扫码次数")
    private Long scanTimes;

    /** 用于区分客户具体是通过哪个「联系我」添加。不能超过30个字符 */
    @Excel(name = "用于区分客户具体是通过哪个「联系我」添加。不能超过30个字符")
    private String state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCodeType(Integer codeType) 
    {
        this.codeType = codeType;
    }

    public Integer getCodeType() 
    {
        return codeType;
    }
    public void setSkipVerify(Integer skipVerify) 
    {
        this.skipVerify = skipVerify;
    }

    public Integer getSkipVerify() 
    {
        return skipVerify;
    }
    public void setScenario(String scenario) 
    {
        this.scenario = scenario;
    }

    public String getScenario() 
    {
        return scenario;
    }
    public void setWelcomeMsg(String welcomeMsg) 
    {
        this.welcomeMsg = welcomeMsg;
    }

    public String getWelcomeMsg() 
    {
        return welcomeMsg;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setConfigId(String configId) 
    {
        this.configId = configId;
    }

    public String getConfigId() 
    {
        return configId;
    }
    public void setQrCode(String qrCode) 
    {
        this.qrCode = qrCode;
    }

    public String getQrCode() 
    {
        return qrCode;
    }
    public void setMediaId(Long mediaId) 
    {
        this.mediaId = mediaId;
    }

    public Long getMediaId() 
    {
        return mediaId;
    }
    public void setScanTimes(Long scanTimes) 
    {
        this.scanTimes = scanTimes;
    }

    public Long getScanTimes() 
    {
        return scanTimes;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("codeType", getCodeType())
            .append("skipVerify", getSkipVerify())
            .append("scenario", getScenario())
            .append("welcomeMsg", getWelcomeMsg())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .append("configId", getConfigId())
            .append("qrCode", getQrCode())
            .append("mediaId", getMediaId())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("scanTimes", getScanTimes())
            .append("state", getState())
            .toString();
    }
}
